package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ee.chat.common.entity.UserImAnalysis;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author AppiJ
 * @since 2020-12-03
 */
public interface UserImAnalysisMapper extends BaseMapper<UserImAnalysis> {

    /**
     * 获取消息分析列表
     * @Author AppiJ
     * @Date 2020/12/3 15:11
     * @param
     * @return
     */
    Page<List<Map<String, Object>>> list(Page p, @Param("userId") Integer userId, @Param("host") Integer host,
                                         @Param("field") String field, @Param("sort") String sort,
                                         @Param("beginDate") String beginDate, @Param("endDate") String endDate);

}